//合作科目列表。
Ext.define("ES.view.cooperationcatalog.CooperationCatalogList",{
    extend:"Ext.grid.Panel",
    alias:"widget.cooperationCatalogTabList",
    closable:true,
    title:"科目资讯",
    store:"CooperationCatalogInfoStore",
    selType:"checkboxmodel",
    multiSelect:true,
    frame:true,
    layout:{
        type:"fit",
        align:"stretch"
    },
    sortableColumns:false,
    viewConfig:{
        forceFit:true,
        columnLines:true,
        stripRows:true
    },
    tbar:{
        xtype:"toolbar",
        height:36,
        items:["合作机构：",{
                        xtype:"textfield",
                        width:168
                    },"  科目名称：",{
                        xtype:"textfield",
                        width:168
                    }," ",{
                        xtype:"button",
                        action:"btnQuery",
                        iconCls:'search-trigger-icon',
                        text:"检索",
                        tooltip:"检索数据"
                    },"->",{
                        xtype:"button",
                        action:"btnAdd",
                        iconCls:"add-icon",
                        text:"新增",
                        tooltip:"新增数据"
                    },"-",{
                        xtype:"button",
                        action:"btnDelete",
                        iconCls:"delete-icon",
                        text:"删除",
                        tooltip:"删除数据"
                    }]
    },
    bbar:{
        xtype:"pagingtoolbar",
        store:"CooperationCatalogInfoStore",
        displayInfo:true
    },
    columns:[{
        header:"序号",
        width:32,
        align:"right",
        xtype:"rownumberer"
    },{
        text:"合作机构",
        width:168,
        flex:1,
        align:"left",
        menuDisabled:true,
        sortable:false,
        dataIndex:"cooperationName"
    },{
        text:"考试科目",
        width:368,
        flex:4,
        align:"left",
        menuDisabled:true,
        sortable:false,
        dataIndex:"catalogName"
    }],
    initComponent:function(){
        this.callParent(arguments);
    }
})